package com.lims.algorithm.useful;

/**
 * <功能简述>
 *
 * @author: lims
 * @create: 2019-08-13 16:55
 */
public class MyException extends Exception {
    private Exceptionbean exceptionbean;

    public Exceptionbean getExceptionbean() {
        return exceptionbean;
    }

    public void setExceptionbean(Exceptionbean exceptionbean) {
        this.exceptionbean = exceptionbean;
    }

    public String getMsg(){
        return exceptionbean.getMsg();
    }

    public MyException(String message) {
        super(message);
    }

    public MyException(Exceptionbean exceptionbean) {
        this.exceptionbean = exceptionbean;
    }
}
